package com.example.springboot14.dao;

import com.example.springboot14.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {
    @Select({"select id,username,pwd,email from tbuser limit 1"})
    List<User> findAll();

}
